package com.party.core.model.coupon;

import com.party.core.model.BaseModel;

import java.util.Date;

/**
 * @author：yifeng
 * @description： 券
 * @date：Created in  2017/11/27 上午 9:42
 **/
public class Coupon extends BaseModel {
    private String type; // 类型（滴滴）
    private String name; // 名称
    private String pic; // 图片
    private String explain; // 概要说明（兑换券的说明）
    private Long stock; // 库存数量
    private Long salesNum; // 领取数量
    private Long allotNum; // 已分配给项目数量
    private Date startTime; // 有效期 开始时间
    private Date endTime; // 有效期 结束时间

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getSalesNum() {
        return salesNum;
    }

    public void setSalesNum(Long salesNum) {
        this.salesNum = salesNum;
    }

    public Long getAllotNum() {
        return allotNum;
    }

    public void setAllotNum(Long allotNum) {
        this.allotNum = allotNum;
    }
}
